<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>我的银行卡</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <link href="css/base.css" rel="stylesheet" type="text/css" />
    <link href="css/button.css" rel="stylesheet" type="text/css" />
    <link href="css/icon.css" rel="stylesheet" type="text/css" />
    <link href="css/bank.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="content-container">
        <div id="list-dom"></div>
        <a href="add-bank.html" class="add-bank">添加银行卡</a>
    </div>
    <script id="list" type="text/html">
        {{each list}}
        <div class="content-container-item">
            <div class="item-title">
                {{ $value.type_name }}
            </div>
            <div class="item-body">
                {{ $value.account_number }}
            </div>
        </div>
        {{/each}}
    </script>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript"></script>
    <script src="js/template.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            bee.wxConfig(function() {
                bee.hideAllNonBaseMenuItem();
            }, function(res) {});

            bee.request({
                url: '/Member/Index/withdrawals_account_list',
                data: null,
                success: function(result) {
                    bee.template('list', result);
                }
            });
        });
    </script>
</body>

</html>
